from setuptools import setup, find_packages
import os
import glob

# Find all markdown files in the prompts/tpl directory
markdown_files = glob.glob('inscode_agent/prompts/tpl/*.md', recursive=True)
package_data = {
    'inscode_agent': [os.path.relpath(path, 'inscode_agent') for path in markdown_files]
}

setup(
    name="inscode_agent",
    version="0.1.9",
    description="Inscode AI Agent SDK",
    long_description="Python SDK for Inscode AI Agent functionality",
    author="Wang Han",
    author_email="wanghan@csdn.net",
    packages=find_packages(exclude=["test*"]),
    package_data=package_data,
    include_package_data=True,
    install_requires=[
        "graspologic==3.4.1",
        "future==1.0.0",
        "redis==5.0.1",
        "InsCode==0.2.3",
        "httpx==0.27.2",
        "langgraph==0.3.21",
        "langgraph-checkpoint==2.0.21",
        "langgraph-prebuilt==0.1.3",
        "langgraph-sdk==0.1.58",
        "langchain_openai==0.3.12",
        "langchain-chroma==0.2.3",
        "loguru==0.7.3",
        "jinja2==3.1.6",
        "playwright==1.44.0",
        "mcp==1.6.0",
        "langfuse==3.0.1",
        "httpx[socks]",
        "dotenv",
        "rembg==2.0.66",
        "volcengine-python-sdk[ark]"
    ],
    python_requires=">=3.11",
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
)
